package com.efounder.bean;

import java.io.Serializable;
import java.util.List;

/**
 * @author : zzj
 * @e-mail : zhangzhijun@pansoft.com
 * @date : 2018/11/5 19:23
 * @desc :  夺宝商城商品信息
 * @version: 1.0
 */
public class MallTreasureGoodsInfoBean implements Serializable {


    /**
     * msg : 成功获取编号为20181105的商品信息
     * code : 0
     * data : {"goodsInfo":{"stockSize":0,"goodsId":"20181105","otherCoinPrice":"0","amt":"1",
     * "description":"1元测试","stableCoinPrice":"1","oneChanceAddress":"0x1fe7014f1aed0df06cd994388d64d276bcd37604","consumersLength":1,"isActive":true,"total":1,"winnerId":"1","stableAndOtherCoinPrice":"0","name":"测试","consumers":[],"id":7,"otherCoinAddress":"0x0","winnerAddress":"0x188e75310a9f25850f2a21f6720194b6d899b8db"}}
     */

    private String msg;
    private int code;
    private DataBean data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * goodsInfo : {"stockSize":0,"goodsId":"20181105","otherCoinPrice":"0","amt":"1","description":"1元测试","stableCoinPrice":"1","oneChanceAddress":"0x1fe7014f1aed0df06cd994388d64d276bcd37604","consumersLength":1,"isActive":true,"total":1,"winnerId":"1","stableAndOtherCoinPrice":"0","name":"测试","consumers":[],"id":7,"otherCoinAddress":"0x0","winnerAddress":"0x188e75310a9f25850f2a21f6720194b6d899b8db"}
         */

        private GoodsInfoBean goodsInfo;

        public GoodsInfoBean getGoodsInfo() {
            return goodsInfo;
        }

        public void setGoodsInfo(GoodsInfoBean goodsInfo) {
            this.goodsInfo = goodsInfo;
        }

        public static class GoodsInfoBean {
            /**
             * stockSize : 0
             * goodsId : 20181105
             * otherCoinPrice : 0
             * amt : 1
             * description : 1元测试
             * stableCoinPrice : 1
             * oneChanceAddress : 0x1fe7014f1aed0df06cd994388d64d276bcd37604
             * consumersLength : 1
             * isActive : true
             * total : 1
             * winnerId : 1
             * stableAndOtherCoinPrice : 0
             * name : 测试
             * consumers : []
             * id : 7
             * otherCoinAddress : 0x0
             * winnerAddress : 0x188e75310a9f25850f2a21f6720194b6d899b8db
             */

            private int stockSize;
            private String goodsId;
            private String otherCoinPrice;
            private String amt;
            private String description;
            private String stableCoinPrice;
            private String oneChanceAddress;
            private int consumersLength;
            private boolean isActive;
            private int total;
            private String winnerId;
            private String stableAndOtherCoinPrice;
            private String name;
            private int id;
            private String otherCoinAddress;
            private String winnerAddress;
            private List<?> consumers;

            public int getStockSize() {
                return stockSize;
            }

            public void setStockSize(int stockSize) {
                this.stockSize = stockSize;
            }

            public String getGoodsId() {
                return goodsId;
            }

            public void setGoodsId(String goodsId) {
                this.goodsId = goodsId;
            }

            public String getOtherCoinPrice() {
                return otherCoinPrice;
            }

            public void setOtherCoinPrice(String otherCoinPrice) {
                this.otherCoinPrice = otherCoinPrice;
            }

            public String getAmt() {
                return amt;
            }

            public void setAmt(String amt) {
                this.amt = amt;
            }

            public String getDescription() {
                return description;
            }

            public void setDescription(String description) {
                this.description = description;
            }

            public String getStableCoinPrice() {
                return stableCoinPrice;
            }

            public void setStableCoinPrice(String stableCoinPrice) {
                this.stableCoinPrice = stableCoinPrice;
            }

            public String getOneChanceAddress() {
                return oneChanceAddress;
            }

            public void setOneChanceAddress(String oneChanceAddress) {
                this.oneChanceAddress = oneChanceAddress;
            }

            public int getConsumersLength() {
                return consumersLength;
            }

            public void setConsumersLength(int consumersLength) {
                this.consumersLength = consumersLength;
            }

            public boolean isIsActive() {
                return isActive;
            }

            public void setIsActive(boolean isActive) {
                this.isActive = isActive;
            }

            public int getTotal() {
                return total;
            }

            public void setTotal(int total) {
                this.total = total;
            }

            public String getWinnerId() {
                return winnerId;
            }

            public void setWinnerId(String winnerId) {
                this.winnerId = winnerId;
            }

            public String getStableAndOtherCoinPrice() {
                return stableAndOtherCoinPrice;
            }

            public void setStableAndOtherCoinPrice(String stableAndOtherCoinPrice) {
                this.stableAndOtherCoinPrice = stableAndOtherCoinPrice;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getOtherCoinAddress() {
                return otherCoinAddress;
            }

            public void setOtherCoinAddress(String otherCoinAddress) {
                this.otherCoinAddress = otherCoinAddress;
            }

            public String getWinnerAddress() {
                return winnerAddress;
            }

            public void setWinnerAddress(String winnerAddress) {
                this.winnerAddress = winnerAddress;
            }

            public List<?> getConsumers() {
                return consumers;
            }

            public void setConsumers(List<?> consumers) {
                this.consumers = consumers;
            }
        }
    }
}
